const accessData = {
    acccessNumber_index:'--',
    accessNumber_do: '--',
};

export default (state = accessData, action) => {
    if(action.type === 'setAccessNumber'){
        accessData.acccessNumber_index = action.acccessNumber_index;
        accessData.accessNumber_do = action.accessNumber_do;
        return{
            acccessNumber_index: state.acccessNumber_index+120,
            accessNumber_do: state.accessNumber_do+34
        }
    }
    return state;
};
